export PYTHONPATH=${PYTHONPATH}:`pwd`/cn_clip
echo $PYTHONPATH
export DATAPATH=`pwd`/data
python3 cn_clip/deploy/pytorch_to_onnx.py \
    --model-arch ViT-H-14 \
    --pytorch-ckpt-path ${DATAPATH}/pretrained_weights/clip_cn_vit-h-14.pt \
    --save-onnx-path ${DATAPATH}/deploy/vit-h-14 \
    --convert-text \
    --convert-vision